package com.example.demo.mapper;

import com.example.demo.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface MenuMapper {
    List<Menu> getMenu(Map<String,Object> params);

    List<Map<String, Object>> getMenuInfo(Map<String, Object> params);

    int getMenuCont();

    void insertMenu(Map<String, Object> params);

    int getMenuId();

    void updateMenu(Map<String, Object> params);
    void deleteRoleMenu(Map<String, Object> params);

    void insertRoleMenu(Map<String, Object> params);

    List<Map<String,Object>> getRoleMenuId(Map<String, Object> params);

}
